package com.sheliduan.itlearning.blogger.model.vos.course;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sheliduan.itlearning.common.model.BasePageQuery;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author: 断舍离
 * @date: 2025/2/25 7:47
 * @description: 查询课程分页数据入参VO
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FindCoursePageListReqVO extends BasePageQuery {

    private String title;

    private Integer type;

    private Integer userId;

    // 起始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startDate;

    // 结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endDate;
}
